package com.njust.service;

import com.njust.domain.dto.*;
import com.njust.domain.po.Sample;
import com.njust.domain.vo.PageQueryVO;
import com.njust.domain.vo.SampleVO;
import com.njust.domain.vo.PageQueryVO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @version 1.0
 * @Author Imak
 * @Date 2024/11/13 22:37
 * @样品
 */
public interface SampleService {

    void add(SampleCreateDTO sampleCreateDTO);

    void addList(List<SampleCreateDTO> data);

    Sample selectById(int sample_id);

    void update(SampleUpdateDTO sampleUpdateDTO);

    PageQueryVO pageQuerySample(SamplePageQueryDTO samplePageQueryDTO);

    PageQueryVO pageQuerySampleRequest(SampleRequestPageQueryDTO sampleRequestPageQueryDTO);

    void updateStatus(SampleUpdateStatusDTO sampleUpdateStatusDTO);

    void addRequestList(List<SampleRequestCreateDTO> sampleRequestCreateDTOList);

    void deleteRequest(Integer request_id);

    void updateRequest(SampleRequestUpdateDTO sampleRequestUpdateDTO);

    void exportExcel(HttpServletResponse response);

    void delete(Integer sample_id);
}
